home *** CD-ROM | disk | FTP | other *** search
- INCLUDE MODEL.INC
- ;
- ;---------------------------------------------------------------------------
- ; Function: void _bye_stdout(flag)
- ;
- ; Parms: flag = 1 Chars written to stdout are sent to modem
- ; flag = 0 Chars written to stdout are not sent to mdm
- ;
- ; Purpose: This is used to control the video bios writes to
- ; stdout from being sent to the modem. If this is
- ; disabled, all data must be received from the modem
- ; using the '__bye_getc()' function.
- ;
- ; Return: void
- ;---------------------------------------------------------------------------
- ;
- PUBLIC __bye_stdout
-
- __bye_stdout PROC
-
- push bp ;standard 'C' function entry
- mov bp,sp
-
- mov ax,ARG1 ;stdout state in AL
- mov ah,10 ;AH=10 for set stdout mode
- int BYE_VECT
-
- mov sp,bp ;standard 'C' exit
- pop bp
- ret
-
- __bye_stdout ENDP
- END
-